<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Menu</title>
</head>
<body>
<%String username = (String)session.getAttribute("username");
    if(username ==null) {
        out.print("您还没有登录！");
    }else{
        out.print("用户名："+username+" session id:"+session.getId());
    }
%>
<hr/>
<a href=<%=response.encodeURL("index1.jsp")%>>index1</a><br>
<a href=<%=response.encodeURL("exit.jsp")%>>Exit</a><br>
</body>
</html>